# -*- coding:utf-8 -*-
"""
@file: class_demo2.py 
@time: 2019/06/30
@author: ljt
"""
"""
1. 定义一个类Person
2. 定义多个具体的类（mam、bab、nver)
3. 让yxl、ljt继承person
4. 让lmy继承yxl、ljt
5. 定义各个类的属性和方法
6. man函数里调用各个类的属性和方法
"""

class Person(object):
	hand = 'hand'
	foot = 'foot'
	eye = 'eye'
	def say(self):
		return "I'm a person"
	
	
class Yxl(Person):
	def __init__(self):
		self.sex = "woman"
		self.height = 155
		self.weight = 50
		self.__age = 25
		self.__interest = "game"
		self.money = 500
	
	def get_work(self):
		pass
	
	
#
# class Ljt(Person):
#
#
#
#
# class Lmy(Yxl,Ljt):
